
.setting-gpt-question-view {
  
  height: 100%;
  padding: 12px;
  
  .setting-gpt-view-header-right,
  .setting-gpt-view-header {
    height: 180px;
  }
  
  .setting-gpt-view-content {
    margin-top: 16px;
    height: calc(100% - 200px);
  }
  
  .el-table__body-wrapper {
    height: calc(100vh - 445px);
  }
  
  .setting-gpt-view-header-right {
    display: flex;
    justify-content: flex-end;
    
    div {
      display: flex;
      justify-content: flex-end;
    }
    
    img {
      min-width: 440px;
      max-width: 440px;
    }
    
  }
  
  .setting-gpt-question-view-table__delete-button {
    color: $color-danger !important;
  }
  
  .setting-gpt-question-view-table {
    .el-table__body-wrapper {
      overflow-y: auto;
    }
  }
  
  .el-popover__reference-wrapper {
    .setting-gpt-question-view-table__add-button {
      margin-right: 8px;
    }
  }
  
}

.setting-gpt-question-view-select {
  display: flex;
  margin-bottom: 12px;
  
  .setting-gpt-question-view-select-item-label {
    margin-right: 8px;
  }
  
  .el-select {
    margin-right: 16px;
  }
}

.setting-gpt-question-view-operate {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.setting-gpt-question-view-operate-input {
  width: 200px;
}

.setting-gpt-question-view-operate-left {
  display: flex;
  align-items: center;
  .el-button + .el-button {
    margin-right: 12px;
  }
}

.setting-gpt-question-view-operate-delete {
  margin-right: 8px;
}

.setting-gpt-question-view-operate-tip {
  color: #8C8C8C;
  font-size: 13px;
  i {
    margin-right: 2px;
  }
}

.setting-gpt-question-view-table__source-document-list {
  .el-tag {
    cursor: pointer;
  }
}

.setting-gpt-similar-question-dialog-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  .el-input {
    flex: 1;
    margin-right: 16px;
  }
}

.setting-gpt-question-edit-view-similar-question {
  .el-input {
    margin-bottom: 4px;
  }
}

.setting-gpt-similar-question-dialog-content {
  .base-setting-list-table-pagination {
    display: none;
  }
}

.setting-gpt-question-edit-view-similar-question-item {
  display: flex;
  .el-input {
    margin-right: 8px;
  }
  i {
    cursor: pointer;
    &:hover {
      color: $color-danger;
    }
  }
}

.setting-gpt-question-view-operate-tip {
  color: #8c8c8c;
  margin-left: 8px;
}

.setting-gpt-question-view-table__answer {
  width: 100%;
  height: 100%;
}

.overflow-body-for-modal {
  .tox-tinymce-aux {
    z-index: 5000 !important;
  }
}

.setting-gpt-view-question-popper {
  min-width: 100px !important;
  padding: 8px 0 !important;
  .setting-gpt-view-question-popper-item {
    cursor: pointer;
    height: 32px;
    line-height: 32px;
    padding: 0 7px;
    color: #585858;
    transition: background-color ease .3s;
    box-sizing: border-box;
    width: 100%;
    padding-left: 8px;
    &:hover{
      background-color: $color-primary-hover;
    }
  }
}